How do I capture debug logs for homepod mini

Hi, I am working on developing a MATTER device, for which I am using iPhone and Homepod mini. How do I capture the debug logs from Homepod Mini

How do I capture debug logs for homepod mini
 
 
Q